package com.csust.senior.dao;

import com.csust.senior.pojo.Employee;

import java.util.List;

public interface EmployeeDao {
    /*
    *
    * 查询
    * @return 返回所有的员工
    *
    * */


    List<Employee> SelectAll();


    Employee getEmployeeById(int EmpId);

    int insertEmployee(Employee employee);

    int updateEmployee(Employee employee);

    int deleteEmployee(int EmpId);


}
